<template>
  <div class="tabitem">
    <slot></slot>
  </div>
</template>

<script>
export default {

}
</script>

<style lang="less" scoped>
  .tabitem{
    flex: 1;
    text-align: center;
    padding: 2px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .cur{
  color: red;
  border-bottom: 2px solid red;
}

</style>